import Vue from 'vue'
import Router from 'vue-router'
import home from '@/components/home'
import user from '@/components/user'
import qianbao from '@/components/qianbao'
import DCshijie from '@/components/DCshijie'
import share from '@/components/share'
import userkj from '@/components/userkj'
import userkc from '@/components/userkc'
import userzc from '@/components/userzc'
import zhlist from '@/components/zhlist'
import zfbedit from '@/components/zfbedit'
import wxedit from '@/components/wxedit'
import yhkdetail from '@/components/yhkdetail'
import aqset from '@/components/aqset'
import zfmanage from '@/components/zfmanage'
import editpassword from '@/components/editpassword'
import zhujici from '@/components/zhujici'
import skcode from '@/components/skcode'
import cjqianbao from '@/components/cjqianbao'
import bourse from '@/components/bourse'
import buy from '@/components/buy'
import sale from '@/components/sale'
import mjpayment from '@/components/mjpayment'
import mjremit from '@/components/mjremit'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: '首页',
      component: home
    },
    {
      path: '/user',
      name: '个人中心',
      component: user
    },
    {
      path: '/qianbao',
      name: '钱包',
      component: qianbao
    },
    {
      path: '/DCshijie',
      name: 'DC世界',
      component: DCshijie
    },
    {
      path: '/share',
      name: '分享',
      component: share
    },
    {
      path: '/userKj',
      name: '我的矿机',
      component: userkj
    },
    {
      path: '/userzc',
      name: '我的资产',
      component: userzc
    },
    {
      path: '/zhlist',
      name: '我的资产',
      component: zhlist
    },
    {
      path: '/zfbedit',
      name: '支付宝账户信息',
      component: zfbedit
    },
    {
      path: '/wxedit',
      name: '微信账户信息',
      component: wxedit
    },
    {
      path: '/yhkdetail',
      name: '银行卡信息',
      component: yhkdetail
    },
    {
      path: '/aqset',
      name: '安全设置',
      component: aqset
    },
    {
      path: '/zfmanage',
      name: '支付密码',
      component: zfmanage
    },
    {
      path: '/editpassword',
      name: '修改密码',
      component: editpassword
    },
    {
      path: '/zhujici',
      name: '备份助记词',
      component: zhujici
    },
    {
      path: '/skcode',
      name: '收款码',
      component: skcode
    },
    {
      path: '/cjqianbao',
      name: '创建钱包',
      component: cjqianbao
    },
    {
      path: '/bourse',
      name: '交易中心',
      component: bourse
    },
    {
      path: '/buy',
      name: '我要买入',
      component: buy
    },
    {
      path: '/sale',
      name: '我要卖出',
      component: sale
    },
    {
      path: '/mjpayment',
      name: '买家付款',
      component: mjpayment
    },
    {
      path: '/mjremit',
      name: '买家确认放款',
      component: mjremit
    }

  ]
})


































